<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: TcpConfig类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="class_tcp_config-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">TcpConfig类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>客户端配置类  
 <a href="class_tcp_config.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aba2ae9fc48ca254a7ce49c754c519616"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#aba2ae9fc48ca254a7ce49c754c519616">TcpConfig</a> ()</td></tr>
<tr class="memdesc:aba2ae9fc48ca254a7ce49c754c519616"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化一个配置文件  <a href="class_tcp_config.html#aba2ae9fc48ca254a7ce49c754c519616">更多...</a><br /></td></tr>
<tr class="separator:aba2ae9fc48ca254a7ce49c754c519616"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f187d3926a7ccd9e79b4013b7ad85f8"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#a0f187d3926a7ccd9e79b4013b7ad85f8">~TcpConfig</a> ()</td></tr>
<tr class="memdesc:a0f187d3926a7ccd9e79b4013b7ad85f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数  <a href="class_tcp_config.html#a0f187d3926a7ccd9e79b4013b7ad85f8">更多...</a><br /></td></tr>
<tr class="separator:a0f187d3926a7ccd9e79b4013b7ad85f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3b1c0b93cb534355c72b34dadb89178"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#af3b1c0b93cb534355c72b34dadb89178">Init</a> (const char *configName)</td></tr>
<tr class="memdesc:af3b1c0b93cb534355c72b34dadb89178"><td class="mdescLeft">&#160;</td><td class="mdescRight">加载配置文件  <a href="class_tcp_config.html#af3b1c0b93cb534355c72b34dadb89178">更多...</a><br /></td></tr>
<tr class="separator:af3b1c0b93cb534355c72b34dadb89178"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:aeea34692ee7ba49257448a3088d73b61"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81">SOCKFAMILY::SockFamily</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#aeea34692ee7ba49257448a3088d73b61">_family</a></td></tr>
<tr class="memdesc:aeea34692ee7ba49257448a3088d73b61"><td class="mdescLeft">&#160;</td><td class="mdescRight">ip协议 默认IPV4  <a href="class_tcp_config.html#aeea34692ee7ba49257448a3088d73b61">更多...</a><br /></td></tr>
<tr class="separator:aeea34692ee7ba49257448a3088d73b61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a274cd8dbfb340cb6b82f4e5f96c96182"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#a274cd8dbfb340cb6b82f4e5f96c96182">_serverSize</a></td></tr>
<tr class="memdesc:a274cd8dbfb340cb6b82f4e5f96c96182"><td class="mdescLeft">&#160;</td><td class="mdescRight">io服务个数  <a href="class_tcp_config.html#a274cd8dbfb340cb6b82f4e5f96c96182">更多...</a><br /></td></tr>
<tr class="separator:a274cd8dbfb340cb6b82f4e5f96c96182"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc8a522e63eff042bf08252904830918"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#adc8a522e63eff042bf08252904830918">_timeout</a></td></tr>
<tr class="memdesc:adc8a522e63eff042bf08252904830918"><td class="mdescLeft">&#160;</td><td class="mdescRight">超时时间,单位毫秒，为0则不设置超时值  <a href="class_tcp_config.html#adc8a522e63eff042bf08252904830918">更多...</a><br /></td></tr>
<tr class="separator:adc8a522e63eff042bf08252904830918"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96f849454f2f4c873485e15710ea6276"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#a96f849454f2f4c873485e15710ea6276">_port</a></td></tr>
<tr class="memdesc:a96f849454f2f4c873485e15710ea6276"><td class="mdescLeft">&#160;</td><td class="mdescRight">监听端口  <a href="class_tcp_config.html#a96f849454f2f4c873485e15710ea6276">更多...</a><br /></td></tr>
<tr class="separator:a96f849454f2f4c873485e15710ea6276"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57a14f18ca346a845a54769ab073623c"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#a57a14f18ca346a845a54769ab073623c">_addr</a></td></tr>
<tr class="memdesc:a57a14f18ca346a845a54769ab073623c"><td class="mdescLeft">&#160;</td><td class="mdescRight">监听地址  <a href="class_tcp_config.html#a57a14f18ca346a845a54769ab073623c">更多...</a><br /></td></tr>
<tr class="separator:a57a14f18ca346a845a54769ab073623c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41096d1aca56f5aebec1c3dbac38cc19"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#a41096d1aca56f5aebec1c3dbac38cc19">_logPath</a></td></tr>
<tr class="memdesc:a41096d1aca56f5aebec1c3dbac38cc19"><td class="mdescLeft">&#160;</td><td class="mdescRight">日志目录  <a href="class_tcp_config.html#a41096d1aca56f5aebec1c3dbac38cc19">更多...</a><br /></td></tr>
<tr class="separator:a41096d1aca56f5aebec1c3dbac38cc19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5851f2dfd954da7af02f8eff675a1084"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#a5851f2dfd954da7af02f8eff675a1084">_logSize</a></td></tr>
<tr class="memdesc:a5851f2dfd954da7af02f8eff675a1084"><td class="mdescLeft">&#160;</td><td class="mdescRight">单个日志文件大小，单位Byte  <a href="class_tcp_config.html#a5851f2dfd954da7af02f8eff675a1084">更多...</a><br /></td></tr>
<tr class="separator:a5851f2dfd954da7af02f8eff675a1084"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a841d3925415410ccf5505fbb0b00a18a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#a841d3925415410ccf5505fbb0b00a18a">_logTimeFlush</a></td></tr>
<tr class="memdesc:a841d3925415410ccf5505fbb0b00a18a"><td class="mdescLeft">&#160;</td><td class="mdescRight">切换日志文件的时间，单位，秒  <a href="class_tcp_config.html#a841d3925415410ccf5505fbb0b00a18a">更多...</a><br /></td></tr>
<tr class="separator:a841d3925415410ccf5505fbb0b00a18a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41473b0f5b097059e3e9b38df132928b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_client_factory.html">ClientFactory</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#a41473b0f5b097059e3e9b38df132928b">_clientFactory</a></td></tr>
<tr class="memdesc:a41473b0f5b097059e3e9b38df132928b"><td class="mdescLeft">&#160;</td><td class="mdescRight">客户端类工厂  <a href="class_tcp_config.html#a41473b0f5b097059e3e9b38df132928b">更多...</a><br /></td></tr>
<tr class="separator:a41473b0f5b097059e3e9b38df132928b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a950bde20b77bfc007a96a9ca6e01a579"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt; <a class="el" href="class_service_factory.html">ServiceFactory</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_tcp_config.html#a950bde20b77bfc007a96a9ca6e01a579">_serverFactory</a></td></tr>
<tr class="memdesc:a950bde20b77bfc007a96a9ca6e01a579"><td class="mdescLeft">&#160;</td><td class="mdescRight">服务端类工厂  <a href="class_tcp_config.html#a950bde20b77bfc007a96a9ca6e01a579">更多...</a><br /></td></tr>
<tr class="separator:a950bde20b77bfc007a96a9ca6e01a579"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>客户端配置类 </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00018">18</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="aba2ae9fc48ca254a7ce49c754c519616"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba2ae9fc48ca254a7ce49c754c519616">&#9670;&nbsp;</a></span>TcpConfig()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">TcpConfig::TcpConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>初始化一个配置文件 </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00022">22</a> 行定义.</p>

</div>
</div>
<a id="a0f187d3926a7ccd9e79b4013b7ad85f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f187d3926a7ccd9e79b4013b7ad85f8">&#9670;&nbsp;</a></span>~TcpConfig()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual TcpConfig::~TcpConfig </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>析构函数 </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00026">26</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="af3b1c0b93cb534355c72b34dadb89178"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3b1c0b93cb534355c72b34dadb89178">&#9670;&nbsp;</a></span>Init()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool TcpConfig::Init </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>configName</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>加载配置文件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">configName</td><td>配置文件名称 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>成功返回true,失败返回false </dd></dl>
<dl class="section remark"><dt>备注</dt><dd>用户可重写此方法进行读写配置 </dd></dl>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00034">34</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a57a14f18ca346a845a54769ab073623c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57a14f18ca346a845a54769ab073623c">&#9670;&nbsp;</a></span>_addr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string TcpConfig::_addr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>监听地址 </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00040">40</a> 行定义.</p>

</div>
</div>
<a id="a41473b0f5b097059e3e9b38df132928b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41473b0f5b097059e3e9b38df132928b">&#9670;&nbsp;</a></span>_clientFactory</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt;<a class="el" href="class_client_factory.html">ClientFactory</a>&gt; TcpConfig::_clientFactory</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>客户端类工厂 </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00044">44</a> 行定义.</p>

</div>
</div>
<a id="aeea34692ee7ba49257448a3088d73b61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeea34692ee7ba49257448a3088d73b61">&#9670;&nbsp;</a></span>_family</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_s_o_c_k_f_a_m_i_l_y.html#a2752d06098f227dbd8340b30a718da81">SOCKFAMILY::SockFamily</a> TcpConfig::_family</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ip协议 默认IPV4 </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00036">36</a> 行定义.</p>

</div>
</div>
<a id="a41096d1aca56f5aebec1c3dbac38cc19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41096d1aca56f5aebec1c3dbac38cc19">&#9670;&nbsp;</a></span>_logPath</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string TcpConfig::_logPath</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>日志目录 </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00041">41</a> 行定义.</p>

</div>
</div>
<a id="a5851f2dfd954da7af02f8eff675a1084"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5851f2dfd954da7af02f8eff675a1084">&#9670;&nbsp;</a></span>_logSize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> TcpConfig::_logSize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>单个日志文件大小，单位Byte </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00042">42</a> 行定义.</p>

</div>
</div>
<a id="a841d3925415410ccf5505fbb0b00a18a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a841d3925415410ccf5505fbb0b00a18a">&#9670;&nbsp;</a></span>_logTimeFlush</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> TcpConfig::_logTimeFlush</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>切换日志文件的时间，单位，秒 </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00043">43</a> 行定义.</p>

</div>
</div>
<a id="a96f849454f2f4c873485e15710ea6276"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96f849454f2f4c873485e15710ea6276">&#9670;&nbsp;</a></span>_port</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> TcpConfig::_port</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>监听端口 </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00039">39</a> 行定义.</p>

</div>
</div>
<a id="a950bde20b77bfc007a96a9ca6e01a579"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a950bde20b77bfc007a96a9ca6e01a579">&#9670;&nbsp;</a></span>_serverFactory</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_shared_ptr.html">SharedPtr</a>&lt;<a class="el" href="class_service_factory.html">ServiceFactory</a>&gt; TcpConfig::_serverFactory</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>服务端类工厂 </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00045">45</a> 行定义.</p>

</div>
</div>
<a id="a274cd8dbfb340cb6b82f4e5f96c96182"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a274cd8dbfb340cb6b82f4e5f96c96182">&#9670;&nbsp;</a></span>_serverSize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> TcpConfig::_serverSize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>io服务个数 </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00037">37</a> 行定义.</p>

</div>
</div>
<a id="adc8a522e63eff042bf08252904830918"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc8a522e63eff042bf08252904830918">&#9670;&nbsp;</a></span>_timeout</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> TcpConfig::_timeout</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>超时时间,单位毫秒，为0则不设置超时值 </p>

<p class="definition">在文件 <a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a> 第 <a class="el" href="_tcp_conf_8h_source.html#l00038">38</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/framework/tcp/config/<a class="el" href="_tcp_conf_8h_source.html">TcpConf.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
